
import React,{Component} from 'react'



class Login extends Component{
  constructor(props){
    super(props)
    this.state={

    }
  }
    fnurl(){
      this.props.history.push('home')
      console.log(this.props)
    }
    render(){
        return(
            <div className="login">
                <p>123</p>
                <button onClick={()=>this.fnurl()}>登录</button>
            </div>
        )
    }

}
export default Login